﻿using Common.Property;
using Domain.Draw;
using DTO;
using DTO.DTO.Draw.Entry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IServices.Draw
{
    public interface IEntryService
    {
        #region
        Task<Result> Save(EntryDetailDTO dto, OperatorInfo op);
        Task<bool> Delete(string id, OperatorInfo op);
        Task<bool> DeleteBatch(List<string> ids, OperatorInfo op);
        Task<Entry> GetById(string id);
        Task<IEnumerable<Entry>> GetByIds(List<string> ids);
        Task<Tuple<IEnumerable<Entry>, int>> GetPageList(EntryQueryDTO dto);
        Task<IEnumerable<Entry>> GetList(EntryQueryDTO dto);
        #endregion
    }
}
